<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/1/28
  Time: 18:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
恭喜您！${param.error}<a href="/logout">注销</a>
---${sessionScope.user}--
<h1><a href="/permission/list">权限管理</a></h1>
<h1><a href="/role/list">角色管理</a></h1>
<h1><a href="/user/list">用户管理</a></h1>
<%--<shiro:hasPermission name="新增">
    <button>新增</button>
</shiro:hasPermission>
<shiro:hasPermission name="新增查询">
    <button>查询</button>
</shiro:hasPermission>
<shiro:hasPermission name="修改">
    <button>修改</button>
</shiro:hasPermission>
<shiro:hasPermission name="删除">
    <button>删除</button>
</shiro:hasPermission>--%>

</body>
</html>
